import { Column } from '@/components/pro-panel/index.typing';

const columns: Column[] = [
  {
    type: 'select',
    prop: 'fillStyle',
    label: '样式',
    group: 'borderEffect',
    options: [],
  },
  {
    type: 'select',
    prop: 'chartlet',
    label: '贴图重复',
    group: 'borderEffect',
    options: [],
    span: 12,
    formProps: {
      placeholder: '等倍/等距',
    },
  },
  {
    type: 'input-number',
    prop: 'chartletLength',
    label: ' ',
    group: 'borderEffect',
    span: 12,
    formProps: {
      controls: false,
    },
  },
  {
    type: 'input-number',
    prop: 'borderWidth',
    label: '线宽',
    group: 'borderEffect',
    formProps: {
      controls: false,
    },
  },
  {
    type: 'progress-input',
    prop: 'borderAlpha1',
    label: '透明度',
    group: 'borderEffect',
    formProps: {
      min: 0,
      max: 2,
      step: 0.01,
    },
  },
  {
    type: 'progress-input',
    prop: 'borderAlpha',
    label: '滚动速度',
    group: 'borderEffect',
    formProps: {
      min: 0,
      max: 2,
      step: 0.01,
    },
  },
  {
    type: 'checkbox',
    prop: '颜色叠加',
    label: '',
    group: 'borderEffect',
    options: [{ label: '颜色叠加', value: 1 }],
    span: 12,
  },
  {
    type: 'color-picker',
    prop: 'borderColor1',
    label: '',
    group: 'borderEffect',
    span: 12,
  },
  {
    type: 'checkbox',
    prop: '发光5',
    label: '',
    group: 'borderEffect',
    options: [{ label: '发光', value: 1 }],
  },
  {
    type: 'progress-input',
    prop: 'borderAlpha5',
    label: '',
    group: 'borderEffect',
    formProps: {
      min: 0,
      max: 2,
      step: 0.01,
    },
  },
  {
    type: 'checkbox',
    prop: '垂直发光411',
    label: '',
    group: 'borderEffect',
    options: [{ label: '垂直发光', value: 1 }],
  },
  {
    type: 'checkbox',
    prop: '亮度叠加23',
    label: '',
    group: 'borderEffect',
    options: [{ label: '亮度叠加', value: 1 }],
  },
];

export default columns;
